//引入模块
import Vue from 'vue'
import Vuex from 'vuex'
//注册模块
Vue.use(Vuex)
import home from "./home"
import search from './search'
import detail from './detail'
import user from './user'
import trade from './trade'
//天机响应的模块并导出
export default new Vuex.Store({
    modules:{
        home,
        search,
        detail,
        user,
        trade
    }
})
